package com.apache.springboot.mapper.impl;

import com.apache.springboot.bean.Customer;
import com.apache.springboot.mapper.CustomerMapper;
import org.springframework.stereotype.Repository;

@Repository
public class CustomerMapperImpl implements CustomerMapper {

    @Override
    public Customer searchByUsernameAndPassword(String username, String password) {

        System.out.println("CustomerMapperImpl数据库的查询操作.....");
        //JDBC
        //Mybatis
        //......
        return new Customer(username,password,null,null,null);
    }
}
